home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 26 / Cream of the Crop 26.iso / program / vol16n12.zip / IPC.ZIP / PSERVER.ZIP / PSVRDLG.H < prev    next >
C/C++ Source or Header  |  1997-02-11  |  1KB  |  52 lines

  1. // PSvrDlg.h : header file
  2. //
  3.  
  4. #define WM_USER_UPDATE WM_USER+0x100
  5.  
  6. UINT ThreadFunc (LPVOID pParam);
  7. BOOL IsClientConnected (HANDLE hPipe);
  8.  
  9. typedef struct tagPIPEINFO {
  10.     HANDLE hPipe;
  11.     HWND hWnd;
  12. } PIPEINFO;
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15. // CPServerDlg dialog
  16.  
  17. class CPServerDlg : public CDialog
  18. {
  19. // Construction
  20. public:
  21.     CPServerDlg(CWnd* pParent = NULL);    // standard constructor
  22.  
  23. // Dialog Data
  24.     //{{AFX_DATA(CPServerDlg)
  25.     enum { IDD = IDD_PSERVER_DIALOG };
  26.     CStatic    m_wndStatus;
  27.     CProgressCtrl    m_wndProgress;
  28.     //}}AFX_DATA
  29.  
  30.     // ClassWizard generated virtual function overrides
  31.     //{{AFX_VIRTUAL(CPServerDlg)
  32.     protected:
  33.     virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
  34.     //}}AFX_VIRTUAL
  35.  
  36. // Implementation
  37. protected:
  38.     HANDLE m_hPipe;
  39.     HICON m_hIcon;
  40.  
  41.     // Generated message map functions
  42.     //{{AFX_MSG(CPServerDlg)
  43.     virtual BOOL OnInitDialog();
  44.     afx_msg void OnPaint();
  45.     afx_msg HCURSOR OnQueryDragIcon();
  46.     afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  47.     afx_msg void OnClose();
  48.     //}}AFX_MSG
  49.     afx_msg LONG OnUserUpdate (UINT wParam, LONG lParam);
  50.     DECLARE_MESSAGE_MAP()
  51. };
  52.